package com.dxd.entity;

import java.io.Serializable;
import java.util.List;

/**
 * 留言板
 * 
 * @author Administrator
 *
 */
public class MessageBoard implements Serializable {

	private static final long serialVersionUID = -2689508629357834185L;

	private Integer id;// 留言板id

	private Message message;// 消息

	private Integer messageId;// 消息id

	private UserInfo user;// 留言用户

	private UserInfo firend;// 接受用户

	private String content;// 留言内容

	private String sendTime;// 发送时间

	private String readTime;// 阅读时间

	private Integer state;// 状态

	private Integer parentID;// 父级id

	private List<MessageBoard> childrens;// 子集留言

	public Integer getParentID() {
		return parentID;
	}

	public void setParentID(Integer parentID) {
		this.parentID = parentID;
	}

	public Integer getMessageId() {
		return messageId;
	}

	public void setMessageId(Integer messageId) {
		this.messageId = messageId;
	}

	public List<MessageBoard> getChildrens() {
		return childrens;
	}

	public void setChildrens(List<MessageBoard> childrens) {
		this.childrens = childrens;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Message getMessage() {
		return message;
	}

	public void setMessage(Message message) {
		this.message = message;
	}

	public UserInfo getUser() {
		return user;
	}

	public void setUser(UserInfo user) {
		this.user = user;
	}

	public UserInfo getFirend() {
		return firend;
	}

	public void setFirend(UserInfo firend) {
		this.firend = firend;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getSendTime() {
		return sendTime;
	}

	public void setSendTime(String sendTime) {
		this.sendTime = sendTime;
	}

	public String getReadTime() {
		return readTime;
	}

	public void setReadTime(String readTime) {
		this.readTime = readTime;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

}
